package cn.com.surker.weight.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.sql.Blob;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 过磅订单图片表
 * </p>
 *
 * @author admin
 * @since 2024-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WeightPicture extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 大小(P_Size)
     */
    private Long imgSize;

    /**
     * 过磅订单号
     */
    private String code;
    /**
     * 图片路径
     */
    private String imgUrl;

    /**
     * 图片二进制流(Picture_bit)
     */
    private byte[] pictureBit;

    /**
     * 图片类型(1重磅抓拍，2：轻磅抓拍)(PictureType)
     */
    private Integer type;


}
